import request from '@/utils/request'

const UPLOAD_ACTION = '/noticerelation/upload'

export default {
  action() {
    return UPLOAD_ACTION
  },

  getList(args) {
    return request.doGet('/noticerelation/getList', args)
  },

  getById(args) {
    return request.doGet('/noticerelation/getById', args)
  },

  add(args) {
    return request.doPost('/noticerelation/add', args)
  },

  edit(args) {
    return request.doPost('/noticerelation/edit', args)
  },

  deleteById(args) {
    return request.doGet('/noticerelation/deleteById', args)
  },

  downlaod(args) {
    return request.doDownload('/noticerelation/download', args)
  },

  getListVisitLog(args) {
    return request.doGet('/noticerelation/getListVisitLog', args)
  },

  getOrganList(args) {
    return request.doGet('/noticerelation/getOrganList', args)
  },

  getOrganReportList(args) {
    return request.doGet('/noticerelation/getOrganReportList', args)
  }
}

